package com.aaa.jvmtest.methodarea;

/**
 * 字符串延迟，并不是一下把所有放入串池，而是一条一条放的
 *
 * @author Tu
 * @date 2022/6/6 15:17
 */
public class StringDelay {
    public static void main(String[] args) {
        int x = args.length;
        //串池中字符串个数：2266
        System.out.println();
        //串池中字符串个数：2267
        System.out.println("1");
        System.out.println("2");
        System.out.println("3");
        System.out.println("4");
        System.out.println("5");
        System.out.println("6");
        System.out.println("7");
        System.out.println("8");
        System.out.println("9");
        System.out.println("0");
        //串池中字符串个数：2276
        System.out.println("1");
        System.out.println("2");
        System.out.println("3");
        System.out.println("4");
        System.out.println("5");
        System.out.println("6");
        System.out.println("7");
        System.out.println("8");
        System.out.println("9");
        System.out.println("0");
        //串池中字符串个数：2276
    }
}
